<?php
/**
 * The loop that displays a page.
 *
 * The loop displays the posts and the post content. See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * This can be overridden in child themes with loop-page.php.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					
					<div class="group title_wrapper">
						<div class="left"><img src="<?php bloginfo( 'template_url' ); ?>/images/content_logo.png" alt="content logo" /></div>
						<div class="left title_holder">
							<h1 class="entry-title">
								<span><?php the_title(); ?></span>
							</h1>
						</div>
					</div>
					
					<?php
					if ( function_exists('has_post_thumbnail') && has_post_thumbnail() ) {?>
						<div class="thumb_content">
						<?php the_post_thumbnail(); ?>
						</div>
					<?php } ?>
					
					<div class="entry-content">
						<?php
						//if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
						//the_post_thumbnail();
						//} 
						?>
						<?php the_content(); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
						<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
					</div><!-- .entry-content -->
					
				</div><!-- #post-## -->

				<?php //comments_template( '', true ); ?>

<?php endwhile; // end of the loop. ?>
